package com.jianganming.state.pay;

//退款
public class RefundOrderState implements IState {
    private Context context = Context.getContext();

    //最后的节点
    @Override
    public void doAction(Order order) {
        context.addOrderState(OrderState.refund);
        System.out.println("退款成功，订单号："+order.getOrderNumber()+" 商品："+order.getProductName()+" 退款金额："+order.getPrice());

    }
}
